
@extends('common.layout')

@section('title', '附件列表')

@section('body')
    <body class="pear-container">

    <div class="layui-card">
        <div class="layui-card-body">
            <table id="table" lay-filter="table"></table>
        </div>
    </div>

    <script type="text/html" id="toolbar">
        <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="add" data-url="/admin/attachment/show" data-title="上传">
            <i class="layui-icon layui-icon-add-1"></i>
            上传
        </button>
        <button class="pear-btn pear-btn-danger pear-btn-md" lay-event="batchRemove" data-url="/admin/attachment/del">
            <i class="layui-icon layui-icon-delete"></i>
            删除
        </button>
    </script>

    <script type="text/html" id="bar">
        <button class="pear-btn pear-btn-danger pear-btn-sm" lay-event="remove" data-url="/admin/attachment/del"><i class="layui-icon layui-icon-delete"></i></button>
    </script>

    <script type="text/html" id="img">
        <img src="d.url" alt="">
    </script>

    @parent
    </body>
@endsection
